package vn.com.bookstore.daoImpl;

import org.springframework.stereotype.Repository;

import vn.com.bookstore.dao.AccountTypeDao;
import vn.com.bookstore.domain.model.AccountType;
import vn.com.bookstore.utils.DaoHelper;

@Repository
public class AccountTypeDaoImpl extends DaoHelper<AccountType> implements AccountTypeDao {

	@Override
	public int getAccountTypeByRole(String role) {
		return getIdByAccountType(role);
	}

}
